package demo4.mapper;

import demo4.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface IUserMapper {

    int insert(User user);
    User query(String username,String password ) throws SQLException;
    List<User> selectAll();
    int update(User user);
}
